﻿<%@ Page Language="VB" MasterPageFile="~/NavegacaoMaster.master" AutoEventWireup="false"
  CodeFile="listarNoticiasPesquisaAvancada.aspx.vb" Inherits="noticias_listarNoticiasPesquisaAvancada"
  Title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
  <asp:ScriptManager ID="ScriptManager1" runat="server">
  </asp:ScriptManager>
  <table>
    <tr>
      <td style="width: 15px">
      </td>
      <td style="width: 343px">
        <p class="titulo-pagina">
          Busca Avançada de Notícias</p>
      </td>
      <td valign="middle" style="width: 231px">
        &nbsp;
      </td>
    </tr>
  </table>
  <table style="width: 100%;">
    <tr>
      <td style="width: 15px">
        &nbsp;
      </td>
      <td style="width: 214px">
        &nbsp;
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td style="width: 15px">
        &nbsp;
      </td>
      <td style="width: 214px">
        Com <b>todas </b>as palavras:
      </td>
      <td>
        <asp:TextBox ID="txtBuscaTodas" runat="server" Width="150px"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnPesquisar" runat="server" OnClick="btnPesquisar_Click" SkinID="btnPadrao"
          Text="Buscar" Width="61px" />
      </td>
    </tr>
    <tr>
      <td style="width: 15px">
        &nbsp;
      </td>
      <td style="width: 214px">
        Com a <b>expressão</b>:
      </td>
      <td>
        <asp:TextBox ID="txtBuscaExpressao" runat="server" Width="150px"></asp:TextBox>
      </td>
    </tr>
    <tr>
      <td style="width: 15px">
        &nbsp;
      </td>
      <td style="width: 214px">
        Com <b>qualquer</b> uma das palavras:
      </td>
      <td>
        <asp:TextBox ID="txtBuscaQualquer" runat="server" Width="150px"></asp:TextBox>
      </td>
    </tr>
    <tr>
      <td style="width: 15px">
        &nbsp;
      </td>
      <td style="width: 214px">
        <b>Sem </b>as palavras:
      </td>
      <td>
        <asp:TextBox ID="txtBuscaSem" runat="server" Width="150px"></asp:TextBox>
      </td>
    </tr>
  </table>
  <table>
    <tr>
      <td style="width: 15px">
        &nbsp;
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td style="width: 15px">
        &nbsp;
      </td>
      <td>
        <cc1:Accordion ID="Accordion1" runat="server" HeaderCssClass="divCinza" BorderColor="ActiveBorder"
          HeaderSelectedCssClass="divLaranja" ContentCssClass="divBranco" FadeTransitions="true">
          <HeaderTemplate>
            <%# Eval("Titulo") %>
            <%#Eval("DataPostagemFormatada")%>
          </HeaderTemplate>
          <ContentTemplate>
            <img style="width: 380px" src='<%# MetodosComuns.GetVirtualPath & "/imagens/noticias/" & Eval("NomeImagem") %>' alt="" /><br />
            <%# Eval("Corpo") %>
          </ContentTemplate>
        </cc1:Accordion>
        <asp:Label ID="lblErro" runat="server" Text="Label" Visible="False"></asp:Label>
      </td>
    </tr>
    <tr>
      <td style="width: 15px">
        &nbsp;
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
  </table>
</asp:Content>
